<%--
  Created by IntelliJ IDEA.
  User: 宋雯丽
  Date: 2024/12/29
  Time: 16:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <title>客户修改</title>
    <meta charset="utf-8"/>
    <link rel="stylesheet" href="css/bootstrap.css"/>
</head>
<body>
<div class="container-fluid">
    <jsp:include page="/admin/header.jsp"/>
    <br><br>
    <form class="form-horizontal" action="${pageContext.request.contextPath}/admin/user_edit" method="post">
        <input type="hidden" name="id" value="${u.id}">

        <div class="form-group">
            <label for="input_username" class="col-sm-1 control-label">用户名</label>
            <div class="col-sm-5">
                <p class="form-control-static">${u.username}</p>
            </div>
        </div>

        <div class="form-group">
            <label for="input_email" class="col-sm-1 control-label">邮箱</label>
            <div class="col-sm-5">
                <p class="form-control-static">${u.email}</p>
            </div>
        </div>

        <div class="form-group">
            <label for="input_name" class="col-sm-1 control-label">收件人</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_name" name="name" value="${u.name}">
            </div>
        </div>

        <div class="form-group">
            <label for="input_phone" class="col-sm-1 control-label">电话</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_phone" name="phone" value="${u.phone}">
            </div>
        </div>

        <div class="form-group">
            <label for="input_address" class="col-sm-1 control-label">地址</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_address" name="address" value="${u.address}">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-1 col-sm-10">
                <button type="submit" class="btn btn-success">提交修改</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>